<?php echo $__env->make('blog::layouts.header', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<article>
  <div class="lbox">	
	<?php if($id == 1): ?>
		<div class="banbox">
		  <div class="banner">
			<div id="banner" class="fader">				
				<?php $__currentLoopData = $banner; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k=>$v): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
					<li class="slide"><a><img src="<?php echo e($v['image_one']['url']); ?>"></a></li>
				<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
				<div class="fader_controls">
					<div class="page prev" data-target="prev"></div>
					<div class="page next" data-target="next"></div>
					<ul class="pager_list"></ul>
				</div>
			</div>
		  </div>
		</div>	
	<?php endif; ?>
    <div class="whitebg bloglist">	  
		<h2 class="htitle"><?php echo e($name); ?></h2>	 
		<ul>	
			<?php $__currentLoopData = $articles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $article): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>			
				<li>		
					<h3 class="blogtitle">	
						<a href="<?php echo e(route('blog.index.info',['id'=>$article['id']])); ?>">				
						<?php echo e($article->title); ?>				
						</a>		
					</h3>			 
					<span class="blogpic imgscale">		
					<a>					
						<img src="<?php echo e($article->image_one->url); ?>"  alt="">	
					</a>			
					</span>		
					<p class="blogtext"><?php echo str_limit(strip_tags($article->content),130,'...'); ?></p>			 
					<p class="bloginfo">	
						<span>创建时间：<?php echo e($article->created_at); ?></span>			
					</p> 			
					<a href="<?php echo e(route('blog.index.info',['id'=>$article['id']])); ?>" class="viewmore">阅读更多</a> 		
				</li>		
			<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>	  
		</ul>	 
		<?php echo e($articles->appends(['id' => $id])->links('blog::layouts.pagination')); ?>	
	</div>
  </div>
  <?php echo $__env->make('blog::layouts.right', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
</article><?php echo $__env->make('blog::layouts.footer', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>

